import request from '@/utils/request'

// 查询iTong(产品)列表
export function listITong_product(query) {
  return request({
    url: '/data_upload/iTong_product/list',
    method: 'get',
    params: query
  })
}

// 查询iTong(产品)详细
export function getITong_product(productId) {
  return request({
    url: '/data_upload/iTong_product/' + productId,
    method: 'get'
  })
}

// 新增iTong(产品)
export function addITong_product(data) {
  return request({
    url: '/data_upload/iTong_product',
    method: 'post',
    data: data
  })
}

// 修改iTong(产品)
export function updateITong_product(data) {
  return request({
    url: '/data_upload/iTong_product',
    method: 'put',
    data: data
  })
}

// 删除iTong(产品)
export function delITong_product(productId) {
  return request({
    url: '/data_upload/iTong_product/' + productId,
    method: 'delete'
  })
}
